import home from '@/views/home/index.vue'
import login from '@/views/login/index.vue'
import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/home', redirect: '/home' },
    {path: '/home',component: home, },
    {path: '/login',component: login, },
  ],
})

export default router
